<?php

switch (foo) {
    case "bar":
        doSomething();

    case "baz":
        doOtherThing();
}

switch (foo) {

    case "bar":
        doSomething();

    case "baz":
        doOtherThing();
}

switch (foo) {
    case "bar":
        doSomething();

    case "baz":
        doOtherThing();

}

switch (foo) {
    case "bar":
        doSomething();



    case "baz":
        doOtherThing();
}

switch (x) {
    case y:
        call();

        break;

    case z:
        call();

        break;
}

switch (a) {
    case b:
        if (1) {};
        c();
}

switch (a) {
    case x:
    case y:
        call();

    case z:
        call();
}

switch (a) {
    case x: case y:
    call();

    case z:
        call();
}
